package com.example.cloud.lijianfeign.fallback;

import com.example.cloud.lijianfeign.api.HelloServiceApi;
import org.springframework.stereotype.Component;

/**
 * @author lj02
 * @desc
 * @date 2018/6/14
 */
@Component
public class FeignCallException implements HelloServiceApi {
    @Override
    public String hi(String name) {
        return "name is " + name + "feign-hystrix 调用错误，执行 fallback";
    }
}
